﻿using AutoMapper;
using B.S.DataBase.MyProject.API.Appicant.Command;
using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyRead.API.Appicant.Command.Holiday;
using B.S.DataBase.MyRead.API.Appicant.Command.RoleMenu;
using B.S.DataBase.MyRead.API.Appicant.CommandHandler.Holiday;
using B.S.DataBase.MyRead.API.DTOs;

namespace B.S.DataBase.MyProject.API
{
    public class AutoMapperFilePro : Profile
    {
       public AutoMapperFilePro()
        {
            CreateMap<Role,RoleNameQueryCommand>().ReverseMap();
            CreateMap<Menu,PerposDto>().ReverseMap();
            CreateMap<Menu,MenuByRoleDto>().ReverseMap();
            CreateMap<Menu, DgDto>().ReverseMap();
            CreateMap<User, ApprovalCommand>().ReverseMap();
            CreateMap<Holidays, ShowHolidaysCommandHarder>().ReverseMap();
        }
    }
}